<?php

// @formatter:off
/**
 * @file tool.php
 * @author Alejandro Dario Simi
 * @date $Date: 2014-05-04 01:33:52 +0000 (Sun, 04 May 2014) $
 *
 * $Id: tool.php 111 2014-05-04 01:33:52Z daemonraco@gmail.com $
 * $URL: http://wcomix.googlecode.com/svn/trunk/tools/tool.php $
 */
// @formatter:on

(php_sapi_name() != "cli") && die("This script runs only on command line\n");
require_once __DIR__."/config.php";
(!$wcShellToolsEnabled) && die("Command line tools are disabled\n");
//
// Enable Garbage Collector
gc_enable();

ini_set("memory_limit", -1);

require_once dirname(__DIR__).'/config/config.php';
require_once "{$wcPaths['includes-directory']}/dynamic.conf.php";

$wcToolsManager->run();
//
// Disable Garbage Collector
gc_disable();
